﻿public {ClassName}Data GetBy{DalLoaderName}({InputParams})
	{
		using(DataTable dt = connector.GetDaTaTable("Select {SelectColumnsList} from {TableName} where {WhereCondition}"))
		{
			if(dt.Rows.Count != 1)
				return null;
				//throw new ApplicationException("Error searching on table {TableName} using condition: {WhereCondition}");
			return CreateFromDataRow(dt.Rows[0]);
		}
	}

 	